angular.module("app").controller("passport.activate.Ctrl", ["$scope", "passport","$stateParams", function ($scope,passport,$stateParams) {
    $scope.searchData = {
        passportId: '',
        phone: ''
    }
    passport.getList({}, {status: 40}, function (data) {
        $scope.passportInfo = data.data.data
    })
    $scope.search = function () {
        passport.getList({}, {
            status: 40,
            passportNo: $scope.searchData.passportId || null,
            mobile: $scope.searchData.phone || null
        }, function (data) {
            $scope.passportInfo = data.data.data
        })
    }
}]);